// Copyright 2022 a.o.smith ALL Rights Reserved
package com.liuxinlong.modules.dao.impl;

import com.liuxinlong.modules.dao.PatentGoodsDao;
import com.liuxinlong.modules.entity.PatentGoods;
import com.liuxinlong.modules.mapper.PatentGoodsMapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 类描述
 * <p>
 * 此类关联设计的功能
 *
 * @author liuxinlong@hotwater.com.cn
 * @version 1.0.0
 * @since 2023年11月23日
 */
@Service
public class PatentGoodsDaoImpl extends ServiceImpl<PatentGoodsMapper, PatentGoods> implements PatentGoodsDao {

	@Override
	public List<PatentGoods> pageGoodsList(Map<String, Object> queryParam) {
		return baseMapper.pageGoodsList(queryParam);
	}

	@Override
	public int getGoodsCount(Map<String, Object> queryParam) {
		return baseMapper.getGoodsCount(queryParam);
	}

	@Override
	public PatentGoods getGoodsByProductModel(String productModel) {
		return baseMapper.getGoodsByProductModel(productModel);
	}

	@Override
	public Map<String, Map<String, String>> getGoodsMapByModel() {
		return baseMapper.getGoodsMapByModel();
	}
}
